package com.gupaoedu.book.dubbo;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Application {
    public static void main(String[] args) {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("classpath*:META-INF/spring/consumer.xml");
        IUserService userService = (IUserService)context.getBean("userService");
        System.out.println(userService.getNameById(("1003")));
    }
}
